package com.dsg.dao.set;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsg.entity.set.DsgSetCusBacklist;
import com.dsg.util.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 客戶/公司黑名單 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2020-08-18
 */
@Repository
public interface DsgSetCusBacklistMapper extends BaseDao<DsgSetCusBacklist> {

    /**
     * 查詢客戶黑名單
     *
     * @param page
     * @param dsgSetCusBacklist
     * @return
     */
    List<DsgSetCusBacklist> selectByCusList(Page<DsgSetCusBacklist> page, @Param(value = "en") DsgSetCusBacklist dsgSetCusBacklist);
}
